<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>天天互保-精彩活动</title>
<meta name="format-detection" content="telephone=no" />
<meta name="keywords" content="天天互保"> 
<meta name="description" content="天天互保"> 
<meta content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport">
<link rel="stylesheet" href="__CSS__/style.css">
<link rel="stylesheet" href="__CSS__/index.css">
<link rel="stylesheet" href="__CSS__/type_info.css">
<!-- banner -->
<script src="__JS__/jquery.min.js"></script>
</head>
<body>
<div class="activityimg">
	<img src="__ROOT__/{$HD.src}">
</div>
<div class="guize2">
	<div class="myactivitymobey actiline font14">活动费用：会员免费 <em>￥9.0</em></div>
	<div class="notes1 font14 actiline"><input type="checkbox" checked  id="checkOnline" /> 同意《<a href="/Act/articles" style="color:#1089ef;">会员须知</a>》</div>
	<div style="height:10px;"></div>
	<div class="addhubao"><a class="submits" href="javascript:checks({$HD['hid']});">立即报名</a></div>

</div>


<div class="guize font12">
	活动规则：{$HD.guize}
</div>

<!--红包-->
<div class="hongbao"><a href="#"><img src="__IMG__/hb.png" alt="红包"/></a></div>
<script>
function checks(id){
	var isBox=$('#checkOnline').prop("checked");
	if(isBox==false){
		alert("请勾选会员须知！");
	}else{
		// alert(1);
		$.post('__URL__/addact',{hid:id}, function (data) {
			if (data==0) {
				alert("您已加入过了！");
				// history.go(-1);
			}else if (data==1) {
				alert('未实名认证');
			}else if (data==2) {
				alert('手机未认证');
			}else if (data==3) {
				alert("加入成功");
			}else if (data==4) {
				alert('失败了！')
			}else if (data==5) {
				alert('未设置支付密码');
			}else if(data==6){
				alert("您已成功加入！并扣除预付金");
			}else{
		   	    alert('您未登录!,登录中');
		   	    location.href='/Weixin/Index/getBaseInfo';//客户端跳转
			}
		});
	}
}
</script>
</body>
</html>